/**
 * todoList 数据结构接口
 */
export interface ITodoData{
  id: number,
  content: string,
  completed: boolean
}

/**
 * 输入组件的接口
 */
export interface IInputOptions{
  wrapperEl: HTMLElement,
  placeholderText: string,
  buttonText: string
}

/**
 * list组件的接口
 */
export interface IListOptions{
  wrapperEl: HTMLElement,
  todoData: ITodoData[]
}